<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>dil.ast.NodeMembers</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "dil.ast.NodeMembers";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/dil.ast.NodeMembers.html" class="symbol">dil.ast.NodeMembers</a></h1>
  
<p class="sec_header">Author:</p>Aziz Köksal
<p class="sec_header">License:</p>GPL3
 <p><b>Maturity:</b> very high.</p>
<dl>
<dt class="decl">alias NodeKind <a class="symbol _alias" name="N" href="./htmlsrc/dil.ast.NodeMembers.html#L8" kind="alias" beg="8" end="8">N</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#N" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.ast.NodeMembers.html#L8">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char[] <a class="symbol _function" name="genMembersTable" href="./htmlsrc/dil.ast.NodeMembers.html#L10" kind="function" beg="10" end="165">genMembersTable</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#genMembersTable" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.ast.NodeMembers.html#L10">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char[][][/+NodeKind.max+1+/] <a class="symbol _variable" name="g_membersTable" href="./htmlsrc/dil.ast.NodeMembers.html#L168" kind="variable" beg="168" end="168">g_membersTable</a>; <span class="attrs">[<span class="stc">static</span>, <span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#g_membersTable" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.ast.NodeMembers.html#L168">#</a></dt>
<dd class="ddef">
<div class="summary">A table listing the subnodes of all classes inheriting from Node.</div></dd>
<dt class="decl">char[][2][] <a class="symbol _function" name="parseMembers" href="./htmlsrc/dil.ast.NodeMembers.html#L187" kind="function" beg="187" end="202">parseMembers</a><span class="params">(char[][] <em>members</em>)</span>; <a title="Permalink to this symbol" href="#parseMembers" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.ast.NodeMembers.html#L187">#</a></dt>
<dd class="ddef">
<div class="summary">A helper function that parses the special strings in g_membersTable.</div>
Basic syntax:
 <pre class="bnf">
Member := Array | Array2 | OptionalNode | Node | Code
Array := Identifier "[]"
Array2 := Identifier "[?]"
OptionalNode := Identifier "?"
Node := Identifier
Code := "%" AnyChar*
<a href="dil.lexer.Identifier.html">Identifier</a>
</pre>
<p class="sec_header">Params:</p>
<table class="params">
<tr><td><em>members</em></td><td>the member strings to be parsed.</td></tr></table>
<p class="sec_header">Returns:</p>an array of tuples (Name, Type) where Name is the exact name of the member
   and Type may be one of these values: "[]", "[?]", "?", "" or "%".</dd></dl>
</div>
<div id="footer">
  <p>Copyright © 2007-2008, Aziz Köksal. All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:12:55 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>